// 统一的注册所有的全局组件
// 骨架组件
import XtxSkeleton from '@/components/skeleton/index.vue'
// 轮播图组件
import XtxCarousel from '@/components/carousel/index.vue'
// 查看全部
import XtxMore from './more/index.vue'
// 面包屑
import Bread from '@/components/bread/index.vue'
import BreadItem from '@/components/bread/item.vue'
// 选择城市
import XtxCity from '@/components/city/index.vue'
// 数量选择
import XtxNumbox from '@/components/numbox/index.vue'
// 按钮
import XtxButton from '@/components/button/index.vue'
// 复选框组件
import XtxCheckbox from '@/components/checkbox/index.vue'
// 消息提示
import XtxMessage from '@/components/message/message.vue'
// 对话框组件
import XtxDialog from '@/components/dialog/index.vue'
// 
import XtxSwitch from '@/components/switch/index.vue'
// tabs组件
import XtxTabs from '@/components/tabs/index.vue'
// tab子组件
import XtxTabsPanel from '@/components/tabs/panel.vue'
import { App } from 'vue'
export default {
    install(app: App) {
        app.component(XtxSkeleton.name, XtxSkeleton)
        app.component(XtxCarousel.name, XtxCarousel)
        app.component(XtxMore.name, XtxMore)
        app.component(Bread.name, Bread)
        app.component(BreadItem.name, BreadItem)
        app.component(XtxCity.name, XtxCity)
        app.component(XtxNumbox.name, XtxNumbox)
        app.component(XtxButton.name, XtxButton)
        app.component(XtxCheckbox.name, XtxCheckbox)
        app.component(XtxMessage.name, XtxMessage)
        app.component(XtxDialog.name, XtxDialog)
        app.component(XtxSwitch.name,XtxSwitch)
        app.component(XtxTabs.name, XtxTabs)
        app.component(XtxTabsPanel.name, XtxTabsPanel)
    },
}